# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=homebank
pkgver=5.6.2
pkgrel=1
pkgdesc="Free, easy, personal accounting for everyone"
arch=('loong64' 'x86_64')
url="http://homebank.free.fr/"
license=('GPL')
depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libofx'
         'librsvg' 'perl-xml-parser' 'shared-mime-info' 'libsoup')
makedepends=('intltool')
changelog=$pkgname.changelog
source=(http://homebank.free.fr/public/sources/$pkgname-$pkgver.tar.gz)
sha256sums=('12ebde58e04d3c18496f95496067c4e8841b0d111668d1f47c239292b15316f1')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install
}
